package com.example.demo.test.component;

import com.example.demo.test.entity.MyEntity;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * 软件著作权:王艳明
 * 系统名称:SpringBoot后台管理系统
 *
 * @author WangYanming
 * @ClassName 类:MyComponent.java
 * @Description 功能描述:TODO
 * @Version 1.0
 * @date 2024-01-15 下午 04:34
 */
@Component
public class MyComponent {


    @Bean
    public MyEntity myEntity() {
        return new MyEntity();
    }
}
